package com.wash.shoes.domain.mtbusy;

import com.wash.shoes.common.property.JdProperty;
import com.wash.shoes.service.*;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author lijianguo
 * @Date 16/09/2024
 * 请输入类的简介
 **/
@Log4j2
public abstract class AbstractMtCallback implements MtCallback {

    @Autowired
    ShopService shopService;

    @Autowired
    OrderService orderService;

    @Autowired
    ShopGoodsService shopGoodsService;

    @Autowired
    OrderGoodService orderGoodService;

    @Autowired
    JdProperty jdProperty;

    @Autowired
    JdCallRecordService jdCallRecordService;

    @Autowired
    OrderTransportService orderTransportService;

    @Autowired
    MtAuthService mtAuthService;

    /**
     * @author lijianguo
     * @Date 18/09/2024
     * 获取token
     **/
    protected String getToken58(String opBizCode) {
        return mtAuthService.getLastTokenStr("58", opBizCode, null);
    }

}
